package com.mdb.open.trade.domain.bo.trade;

import com.mdb.bc.api.data.DataObjectBase;
import com.mdb.open.common.enums.trade.type.ProcessLogTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: you.yichao
 * @create: 2019-07-06 15:12
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="UpdateLoanApplyBo", description="更新融资申请Bo对象")
public class UpdateLoanApplyBo extends DataObjectBase {

    /**
     * 融资申请单号
     */
    @ApiModelProperty(value = "融资申请单号")
    @NotBlank(message = "融资申请单号不允许为空")
    private String applyOrderNo;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private ProcessLogTypeEnum status;

    /**
     * 拒绝原因
     */
    @ApiModelProperty(value = "拒绝原因")
    private String rejectReason;

}
